]> dgit.raspbian.org Git - gnome-shell.git/commit
NetworkMenu: keep wirelesss networks in predictable order
authorGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 6 Apr 2011 16:11:23 +0000 (18:11 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 26 Apr 2011 12:46:43 +0000 (14:46 +0200)
commitd0780d16224d7bb2ad183542337c48324fdd2185
tree70bf8d1c795d7b72b12a813f7f688cebe7436932
parent9d5906dae3b4339f4f8a8a39d54c99de8ea99369
NetworkMenu: keep wirelesss networks in predictable order

Adds a function that compares wireless networks and keeps them sorted
at all times. Order is: first already configured connections, then
first secure networks, then alphabtic. Also, the appearance of a new access
point no longer causes the whole menu to be rebuilt (but it still linear
searches for the position, I guess that could be skipped), which caused
the addition of more code for tracking the active access point.

https://bugzilla.gnome.org/show_bug.cgi?id=646580
js/ui/status/network.js